package com.lanhe.member.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lanhe.member.domain.LhMemberWithdrawalRec;
import com.lanhe.member.mapper.LhMemberWithdrawalRecMapper;
import com.lanhe.member.service.ILhMemberWithdrawalRecService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * 用户提现记录(LhMemberWithdrawalRec)表服务实现类
 *
 * @author zhanggl
 * @since 2024-01-05 21:35:21
 */
@Service
public class LhMemberWithdrawalRecServiceImpl extends ServiceImpl<LhMemberWithdrawalRecMapper, LhMemberWithdrawalRec> implements ILhMemberWithdrawalRecService {

	@Autowired
	private LhMemberWithdrawalRecMapper LhMemberWithdrawalRecMapper;

	/**
	 * 增加
	 *
	 * @param memberWithdrawalRecords 实体
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	@Override
	public void insertWithdrawalRecords(LhMemberWithdrawalRec memberWithdrawalRecords) {
		memberWithdrawalRecords.setCreateTime(new Date());
		LhMemberWithdrawalRecMapper.insert(memberWithdrawalRecords);
	}
}

